/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.acworks.acroute.v2.impl;

import com.acworks.acroute.v2.Arc;
import com.acworks.acroute.v2.ImmutableGraph;
import com.acworks.acroute.v2.Node;
import java.util.Collections;
import java.util.Set;
import java.util.SortedSet;

/**
 *
 * @author nikita
 */
public class ImmutableGraphImpl extends AbstractGraph implements ImmutableGraph {

    public ImmutableGraphImpl(SortedSet<Node> graphNodes, Set<Arc> arcs) {
        super(Collections.unmodifiableSortedSet(graphNodes), Collections.unmodifiableSet(arcs));
    }
}
